package com.jy.adscm.hcPlan.service;

import com.jy.adscm.exception.AdscmSystemException;
import com.jy.adscm.hcPlan.bean.HcPlanSale;
import com.baomidou.mybatisplus.service.IService;
import com.jy.adscm.hcPlan.bean.HcPlanSaleGoods;

import java.util.List;

/**
 * <p>
 * 销售计划表 服务类
 * </p>
 *
 * @author yyy
 * @since 2018-08-13
 */
public interface HcPlanSaleService extends IService<HcPlanSale> {

    /**
     * 获取所有销售计划
     * @throws AdscmSystemException
     */
    public List<HcPlanSale> getAllSalePlan() throws AdscmSystemException;

    /**
     * 删除销售计划中的某一个商品
     * @param goods
     * @throws AdscmSystemException
     */
    public void delSalePlanGoods(HcPlanSaleGoods goods) throws AdscmSystemException;

    /**
     * 填写耗材销售计划
     * @param hcPlanSale
     * @return
     */
    public void addSalePlan(HcPlanSale hcPlanSale) throws AdscmSystemException;


    /**
     * 修改销售计划中的某一个商品
     * @param goods
     * @throws AdscmSystemException
     */
    public void editSalePlanGoods(HcPlanSaleGoods goods) throws AdscmSystemException;
}
